﻿using AutoMapper;
using System.Collections.Generic;
using TMS_Master.DTO.Owner;
using TMS_Master.DTO.Personnel;
using TMS_Master.Personnel_module;

namespace TMS_Master
{
    public class TMS_MasterApplicationAutoMapperProfile : Profile
    {
        public TMS_MasterApplicationAutoMapperProfile()
        {
            CreateMap<Become, BecomeDTO>();
            CreateMap<BecomeDTOText, Become>();
            CreateMap<Staff, StaffDTO>();
            CreateMap<StaffDTOText, Staff>();
            CreateMap<Induction, InductionDTO>();
            CreateMap<InductionDTOText, Induction>();
            CreateMap<Quit, QuitDTO>();
            CreateMap<QuitDTOText, Quit>();
            CreateMap<Personnel, PersonnelDTO>();
            CreateMap<PersonnelDTOText, Personnel>();
            CreateMap<Owner, OwnerDTO>();
            CreateMap<OwnerDTOText, Owner>();

        }
    }
}
